go/types.Checker.isImportedConstraint (method)

3 uses

	go/types (current package)
		decl.go#L532: func (check *Checker) isImportedConstraint(typ Type) bool {
		decl.go#L553: 		_ = !versionErr && check.isImportedConstraint(rhs) && check.verifyVersionf(tdecl.Type, go1_18, "using type constraint %s", rhs)
		typeset.go#L276: 			if pos.IsValid() && check != nil && check.isImportedConstraint(typ) && !check.verifyVersionf(atPos(pos), go1_18, "embedding constraint interface %s", typ) {